package com.tlb.dto;

import javax.persistence.*;
import java.util.*;
import java.io.*;
import com.tlb.web.Util;

@Entity
public class ThreadDataView {
    
    public ThreadDataView() {
    }
    
    
    @Id
    private int threadId;
    
    @Temporal(TemporalType.TIMESTAMP)
    private Date minThreadDate;
    @Temporal(TemporalType.TIMESTAMP)
    private Date maxThreadDate;
    private boolean sticky;
    private boolean nsfw;
    private boolean tos;
    private boolean spam;
    
    public int getThreadId() {
        return threadId;
    }

    public void setThreadId(int threadId) {
        this.threadId = threadId;
    }

    public Date getMinThreadDate() {
        return minThreadDate;
    }

    public void setMinThreadDate(Date minThreadDate) {
        this.minThreadDate = minThreadDate;
    }

    public Date getMaxThreadDate() {
        return maxThreadDate;
    }

    public void setMaxThreadDate(Date maxThreadDate) {
        this.maxThreadDate = maxThreadDate;
    }

    public boolean getSticky() {
        return sticky;
    }

    public void setSticky(boolean sticky) {
        this.sticky = sticky;
    }

    public boolean getNsfw() {
        return nsfw;
    }

    public void setNsfw(boolean nsfw) {
        this.nsfw = nsfw;
    }

    public boolean getTos() {
        return tos;
    }

    public void setTos(boolean tos) {
        this.tos = tos;
    }

    public boolean getSpam() {
        return spam;
    }

    public void setSpam(boolean spam) {
        this.spam = spam;
    }
    
    
    
}
